package com.ruoyi.project.his.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.framework.aspectj.lang.annotation.Excel;
import com.ruoyi.framework.web.domain.BaseEntity;

/**
 * 科室信息对象 his_department
 * 
 * @author gzc
 * @date 2021-12-20
 */
public class HisDepartment extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 岗位ID */
    private Long departmentId;

    /** 科室名称 */
    @Excel(name = "科室名称")
    private String departmentName;

    /** 科室编码 */
    @Excel(name = "科室编码")
    private String departmentCode;

    /** 挂号量 */
    @Excel(name = "挂号量")
    private String departmentNum;

    /** 负责人 */
    @Excel(name = "负责人")
    private String departmentPerson;

    /** 手机号 */
    @Excel(name = "手机号")
    private String departmentPhone;
    /** 手机号 */
    @Excel(name = "排序码")
    private Long departmentSort;

    /** 状态（0正常 1停用） */
    @Excel(name = "状态", readConverterExp = "0=正常,1=停用")
    private String status;

    @Override
    public String toString() {
        return "HisDepartment{" +
                "departmentId=" + departmentId +
                ", departmentName='" + departmentName + '\'' +
                ", departmentCode='" + departmentCode + '\'' +
                ", departmentNum='" + departmentNum + '\'' +
                ", departmentPerson='" + departmentPerson + '\'' +
                ", departmentPhone='" + departmentPhone + '\'' +
                ", departmentSort=" + departmentSort +
                ", status='" + status + '\'' +
                '}';
    }

    public static long getSerialVersionUID() {
        return serialVersionUID;
    }

    public Long getDepartmentId() {
        return departmentId;
    }

    public void setDepartmentId(Long departmentId) {
        this.departmentId = departmentId;
    }

    public String getDepartmentName() {
        return departmentName;
    }

    public void setDepartmentName(String departmentName) {
        this.departmentName = departmentName;
    }

    public String getDepartmentCode() {
        return departmentCode;
    }

    public void setDepartmentCode(String departmentCode) {
        this.departmentCode = departmentCode;
    }

    public String getDepartmentNum() {
        return departmentNum;
    }

    public void setDepartmentNum(String departmentNum) {
        this.departmentNum = departmentNum;
    }

    public String getDepartmentPerson() {
        return departmentPerson;
    }

    public void setDepartmentPerson(String departmentPerson) {
        this.departmentPerson = departmentPerson;
    }

    public String getDepartmentPhone() {
        return departmentPhone;
    }

    public void setDepartmentPhone(String departmentPhone) {
        this.departmentPhone = departmentPhone;
    }

    public Long getDepartmentSort() {
        return departmentSort;
    }

    public void setDepartmentSort(Long departmentSort) {
        this.departmentSort = departmentSort;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public HisDepartment(Long departmentId, String departmentName, String departmentCode, String departmentNum, String departmentPerson, String departmentPhone, Long departmentSort, String status) {
        this.departmentId = departmentId;
        this.departmentName = departmentName;
        this.departmentCode = departmentCode;
        this.departmentNum = departmentNum;
        this.departmentPerson = departmentPerson;
        this.departmentPhone = departmentPhone;
        this.departmentSort = departmentSort;
        this.status = status;
    }

    public HisDepartment() {
    }
}
